.PHONY: all clean

all:test

ThreadExecutor.o : ThreadExecutor.cpp ThreadExecutor.hpp
	g++ -c ThreadExecutor.cpp -o ThreadExecutor.o -I /usr/local/boost/include -L /usr/lcoal/boost/lib  -lpthread -std=c++11

app.o : app.cpp app.hpp ThreadExecutor.hpp
	g++ -c app.cpp -o app.o -I /usr/local/boost/include -L /usr/lcoal/boost/lib  -lpthread -std=c++11

main.o : main.cpp app.hpp ThreadExecutor.hpp
	g++ -c main.cpp -o main.o -I /usr/local/boost/include -L /usr/lcoal/boost/lib  -lpthread -std=c++11

test:app.o main.o ThreadExecutor.o
	g++ -o test app.o main.o ThreadExecutor.o   -lpthread -std=c++11

clean:
	rm -rf *.o test
